home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
a_utils
/
expanded.lha
/
test_suite
/
Makefile
next >
Wrap
Makefile
|
1992-03-19
|
6KB
|
192 lines
#
# Linear-Affine-Projective Geometry Package
#
# Makefile
#
# W.J.R. Longabaugh
# University of Washington
#
# ***********************************************************************
DEFNAME = c_plusplus
Z = ../expanded
IZ = ../expanded/hdr
SZ = .
MAKEFILE = Makefile
CC = CC
ATTIN = /usr/local/C++/incl
INCLUDE = -I$(IZ) -I$(ATTIN)
CFLAGS = -g +i -D$(DEFNAME) $(INCLUDE)
LIBS = -lm
OBJS = $(Z)/Basis.o $(Z)/GeOb.o $(Z)/List.o $(Z)/Map.o \
$(Z)/MultiMap.o $(Z)/Matrix.o $(Z)/Object.o \
$(Z)/Scalar.o $(Z)/Space.o $(Z)/SubSet.o $(Z)/Typeout.o
SRCS = $(SZ)/thex.C $(SZ)/testbasis.C $(SZ)/testgeob.C \
$(SZ)/testmap.C $(SZ)/testsub.C $(SZ)/testspace.C \
$(SZ)/testmulti.C
PROGS = thex testbasis testgeob testmap \
testsub testspace testmulti
all: $(PROGS)
clean:
-rm -f *..c *.o __ctdt.c _err makedep *~
hardcopy:
lpr -Plp1 $(SRCS)
# --------------------------------------------------
# explicit dependency for files
thex: $(OBJS) thex.o
$(CC) $(CFLAGS) $(OBJS) thex.o $(LIBS) -o thex
thex.o: $(SZ)/thex.C
$(CC) $(CFLAGS) -c $(SZ)/thex.C
testbasis: $(OBJS) testbasis.o
$(CC) $(CFLAGS) $(OBJS) testbasis.o $(LIBS) -o testbasis
testbasis.o: $(SZ)/testbasis.C
$(CC) $(CFLAGS) -c $(SZ)/testbasis.C
testgeob: $(OBJS) testgeob.o
$(CC) $(CFLAGS) $(OBJS) testgeob.o $(LIBS) -o testgeob
testgeob.o: $(SZ)/testgeob.C
$(CC) $(CFLAGS) -c $(SZ)/testgeob.C
testmap: $(OBJS) testmap.o
$(CC) $(CFLAGS) $(OBJS) testmap.o $(LIBS) -o testmap
testmap.o: $(SZ)/testmap.C
$(CC) $(CFLAGS) -c $(SZ)/testmap.C
testsub: $(OBJS) testsub.o
$(CC) $(CFLAGS) $(OBJS) testsub.o $(LIBS) -o testsub
testsub.o: $(SZ)/testsub.C
$(CC) $(CFLAGS) -c $(SZ)/testsub.C
testspace: $(OBJS) testspace.o
$(CC) $(CFLAGS) $(OBJS) testspace.o $(LIBS) -o testspace
testspace.o: $(SZ)/testspace.C
$(CC) $(CFLAGS) -c $(SZ)/testspace.C
testmulti: $(OBJS) testmulti.o
$(CC) $(CFLAGS) $(OBJS) testmulti.o $(LIBS) -o testmulti
testmulti.o: $(SZ)/testmulti.C
$(CC) $(CFLAGS) -c $(SZ)/testmulti.C
# --------------------------------------------------
# this creates the header file dependencies.
depend:
$(CC) -M $(INCLUDE) $(SRCS) | sort | uniq > makedep
cp $(MAKEFILE) $(MAKEFILE).sav
sed -n '1,/^# DO NOT DELETE THIS LINE/p' $(MAKEFILE).sav > $(MAKEFILE)
echo '# stuff after here goes away' >> $(MAKEFILE)
cat makedep >> $(MAKEFILE)
echo '# DEPENDENCIES MUST END AT END OF FILE' >> $(MAKEFILE)
echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> $(MAKEFILE)
# DO NOT DELETE THIS LINE
# stuff after here goes away
testbasis.o: ../expanded/hdr/Geom.h
testbasis.o: ../expanded/hdr/Lap.h
testbasis.o: ../expanded/hdr/Lap1.h
testbasis.o: ../expanded/hdr/List.h
testbasis.o: ../expanded/hdr/Matrix.h
testbasis.o: ../expanded/hdr/Object.h
testbasis.o: ../expanded/hdr/Typeout.h
testbasis.o: ./testbasis.C
testbasis.o: /usr/local/C++/incl/math.h
testbasis.o: /usr/local/C++/incl/stdio.h
testbasis.o: /usr/local/C++/incl/stream.h
testbasis.o: /usr/local/C++/incl/string.h
testgeob.o: ../expanded/hdr/Geom.h
testgeob.o: ../expanded/hdr/Lap.h
testgeob.o: ../expanded/hdr/Lap1.h
testgeob.o: ../expanded/hdr/List.h
testgeob.o: ../expanded/hdr/Matrix.h
testgeob.o: ../expanded/hdr/Object.h
testgeob.o: ../expanded/hdr/Typeout.h
testgeob.o: ./testgeob.C
testgeob.o: /usr/local/C++/incl/math.h
testgeob.o: /usr/local/C++/incl/stdio.h
testgeob.o: /usr/local/C++/incl/stream.h
testgeob.o: /usr/local/C++/incl/string.h
testmap.o: ../expanded/hdr/Geom.h
testmap.o: ../expanded/hdr/Lap.h
testmap.o: ../expanded/hdr/Lap1.h
testmap.o: ../expanded/hdr/List.h
testmap.o: ../expanded/hdr/Matrix.h
testmap.o: ../expanded/hdr/Object.h
testmap.o: ../expanded/hdr/Typeout.h
testmap.o: ./testmap.C
testmap.o: /usr/local/C++/incl/math.h
testmap.o: /usr/local/C++/incl/stdio.h
testmap.o: /usr/local/C++/incl/stream.h
testmap.o: /usr/local/C++/incl/string.h
testmulti.o: ../expanded/hdr/Geom.h
testmulti.o: ../expanded/hdr/Lap.h
testmulti.o: ../expanded/hdr/Lap1.h
testmulti.o: ../expanded/hdr/List.h
testmulti.o: ../expanded/hdr/Matrix.h
testmulti.o: ../expanded/hdr/Object.h
testmulti.o: ../expanded/hdr/Typeout.h
testmulti.o: ./testmulti.C
testmulti.o: /usr/local/C++/incl/math.h
testmulti.o: /usr/local/C++/incl/stdio.h
testmulti.o: /usr/local/C++/incl/stream.h
testmulti.o: /usr/local/C++/incl/string.h
testspace.o: ../expanded/hdr/Geom.h
testspace.o: ../expanded/hdr/Lap.h
testspace.o: ../expanded/hdr/Lap1.h
testspace.o: ../expanded/hdr/List.h
testspace.o: ../expanded/hdr/Matrix.h
testspace.o: ../expanded/hdr/Object.h
testspace.o: ../expanded/hdr/Typeout.h
testspace.o: ./testspace.C
testspace.o: /usr/local/C++/incl/math.h
testspace.o: /usr/local/C++/incl/stdio.h
testspace.o: /usr/local/C++/incl/stream.h
testspace.o: /usr/local/C++/incl/string.h
testsub.o: ../expanded/hdr/Geom.h
testsub.o: ../expanded/hdr/Lap.h
testsub.o: ../expanded/hdr/Lap1.h
testsub.o: ../expanded/hdr/List.h
testsub.o: ../expanded/hdr/Matrix.h
testsub.o: ../expanded/hdr/Object.h
testsub.o: ../expanded/hdr/Typeout.h
testsub.o: ./testsub.C
testsub.o: /usr/local/C++/incl/math.h
testsub.o: /usr/local/C++/incl/stdio.h
testsub.o: /usr/local/C++/incl/stream.h
testsub.o: /usr/local/C++/incl/string.h
thex.o: ../expanded/hdr/Geom.h
thex.o: ../expanded/hdr/Lap.h
thex.o: ../expanded/hdr/Lap1.h
thex.o: ../expanded/hdr/List.h
thex.o: ../expanded/hdr/Matrix.h
thex.o: ../expanded/hdr/Object.h
thex.o: ../expanded/hdr/Typeout.h
thex.o: ./thex.C
thex.o: /usr/local/C++/incl/math.h
thex.o: /usr/local/C++/incl/stdio.h
thex.o: /usr/local/C++/incl/stream.h
thex.o: /usr/local/C++/incl/string.h
# DEPENDENCIES MUST END AT END OF FILE
# IF YOU PUT STUFF HERE IT WILL GO AWAY